package com.turing.post.salesmanage.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 充值单状态迁移明细
 * 
 * @author zxp
 * @Jan 17, 2013
 */
@Remote
@Local
public interface DepositOrderActionDetailDao {

	/**
	 * 新增
	 * 
	 * @param doad
	 * @throws PCPSApplicationException
	 */
	public void insertDepositOrderActionDetail(DepositOrderActionDetail doad)
			throws PCPSApplicationException;

	/**
	 * 分页查询充值单状态迁移明细
	 * 
	 * @param depositOrderId
	 * @param page
	 * @return
	 */
	public List<DepositOrderActionDetail> getDepositOrderActionDetailList(
			BigInteger depositOrderId, Integer page);

	/**
	 * 查询充值单状态迁移明细记录数
	 * 
	 * @param depositOrderId
	 *            充值单编号
	 * @return 记录数
	 */
	public BigInteger getDepositOrderActionDetailTotal(BigInteger depositOrderId);
}
